package date;
/**
 *<br>Description</b><br>
 * Date , abstract superclass for all date formats
 * @author tanasa emanuel
 */
public abstract class Date {
	/**Time-stamp */
	private java.util.Date date;
	
	public Date(Long date) {
		this.date=new java.util.Date(date);
	}
	/**
	 * Validates the inputed date
	 * @param adress the long time-stamp  to be validated
	 * @return true if it'a valid time format
	 */
	public abstract boolean valid(Long date);
}
